package hu.java2.model;

import java.util.Set;

public class Category {

	private String name;
	private Set<Goal> goals;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Goal> getGoals() {
		return goals;
	}
	public void setGoals(Set<Goal> goals) {
		this.goals = goals;
	}
	public void addGoal(Goal goal) {
		this.goals.add(goal);
	}
	
	
}
